package com.design.responsibility.football;

/**
 * @author xiemiao
 * @description
 * @date 2023/08/17
 */
public class Client {
    public static void main(String[] args) {
        Player1 player0 = new Player1();
        Player1 player1 = new Player1();
        Player2 player2 = new Player2();
        player1.setNextPlayer(player0);
        player0.setNextPlayer(player2);
        player1.handle(false);

    }
}
